#region Summary

// 
// Owner : JackieHan 
// 
// Solution : ResearchTest 
// 
// Project : Jackie.Research.Wcf.Rest.Contracts
// 
// File : IEchoService.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : Echo Service Contract
// 
// History : 
//			2011-05-17 15:47:57	    Create 
// 

#endregion

#region Using

using System;
using System.ServiceModel;
using System.ServiceModel.Web;
using Jackie.Research.Wcf.Rest.Domain;

#endregion

namespace Jackie.Research.Wcf.Rest.Contracts
{
    /// <summary> 
    /// Echo Service Contract
    /// </summary>
    [ServiceContract]
    public interface IEchoService
    {
        [OperationContract]
        [WebGet]
        string EchoWithGet(string s);

        [OperationContract]
        [WebInvoke]
        string EchoWithPost(string s);

        [OperationContract]
        [WebInvoke]
        string EchoWithPostObject(EchoInfo info);

        [OperationContract]
        [WebInvoke]
        EchoInfo EchoWithPostObjectReturnObject(EchoInfo info);
    }
}